@import '~iview/src/styles/index.less';

// @menu-dark-title: red;
@menu-dark-active-bg: #000c17;
// @layout-sider-background: red;


// 目标适配设备
@deviceWidth:1000px,1050px,1100px,1150px,1200px,1250px,1300px,1350px,1400px,1450px,1500px,1550px,1600px,1650px,1700px,1750px,1800px,1850px,1900px,1950px,2000px,2050px,2100px,2150px,2200px,2250px,2300px,2350px,2400px,2450px,2500px,2550px,2600px,2650px,2700px,2750px,2800px,2850px,2900px,2950px,3000px,3050px,3100px,3150px,3200px,3250px,3300px,3350px,3400px,3450px;
@bs:100px;
@psdW:1920px;
@len:length(@deviceWidth);

.adapter(@count) when (@count <= @len){
  @media (min-width: extract(@deviceWidth,@count)){
    html{
      font-size: extract(@deviceWidth,@count) / @psdW * @bs;
    }
  }
  .adapter(@count + 1);
}
.adapter(1);
